#ifndef GECABOL_H
#define GECABOL_H

#include <QDialog>

class QLabel;
class QLineEdit;
class QPushButton;
class MainWindow;

class GECABOL : public QDialog
{
    Q_OBJECT

public:
    GECABOL(QWidget *parent = 0);
    ~GECABOL();
	bool connectDB();

private slots:
	int validateUser();
    
    
   
private:
	void showMainWindow(int perfil); /****parametros que indiquen el tipo de menu*//****/
    QLabel *userLabel;
    QLabel *passwordLabel;
    QLineEdit *user;
    QLineEdit *password;
    QPushButton *ok;
    QPushButton *cancel;
    MainWindow *mainWindow;
};



#endif // GECABOL_H
